package cn.da.shuai.cool.system.model.enums.menu;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum MenuType {

    DIRECTORY("M", "目录"),
    MENU("C", "菜单"),
    BUTTON("F", "按钮");

    @EnumValue
    @JsonValue
    private final String code;
    private final String desc;
}